<?php /* Smarty version 2.6.26, created on 2014-10-24 00:28:51
         compiled from userlist.html */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="<?php echo @ADMIN_VIEW; ?>
/AdminStyle/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo @ADMIN_VIEW; ?>
/AdminStyle/js/jquery.js"></script>
<script type="text/javascript" src="<?php echo @ADMIN_VIEW; ?>
/AdminStyle/js/Item.js"></script>

<script type="text/javascript">
$(document).ready(function(){
  $(".click").click(function(){
  $(".tip").fadeIn(200);
  });
  
  $(".tiptop a").click(function(){
  $(".tip").fadeOut(200);
});

  $(".sure").click(function(){
  $(".tip").fadeOut(100);
});

  $(".cancel").click(function(){
  $(".tip").fadeOut(100);
});

});
</script>


</head>


<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">数据表</a></li>
    <li><a href="#">基本内容</a></li>
    </ul>
    </div>
    
    <div class="rightinfo">
        <div class="tools">
    
        <ul class="toolbar">
        <li class="click"><a style="display:block;float:left;" href="?m=Admin&c=User&a=addUser"  class="click"><span><img src="<?php echo @ADMIN_VIEW; ?>
/AdminStyle/images/t01.png" /></span>添加</a></li>
        </ul>
    
    </div>
    
    <table class="tablelist">
    	<thead>
    	<tr>
        <th><input name="" type="checkbox"/></th>
        <th>编号<i class="sort"><img src="<?php echo @ADMIN_VIEW; ?>
/AdminStyle/images/px.gif" /></i></th>
        <th>账号</th>
        <th>身份</th>
        <th>操作</th>
        </tr>
        </thead>
        <?php unset($this->_sections['user']);
$this->_sections['user']['loop'] = is_array($_loop=$this->_tpl_vars['user']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['user']['name'] = 'user';
$this->_sections['user']['show'] = true;
$this->_sections['user']['max'] = $this->_sections['user']['loop'];
$this->_sections['user']['step'] = 1;
$this->_sections['user']['start'] = $this->_sections['user']['step'] > 0 ? 0 : $this->_sections['user']['loop']-1;
if ($this->_sections['user']['show']) {
    $this->_sections['user']['total'] = $this->_sections['user']['loop'];
    if ($this->_sections['user']['total'] == 0)
        $this->_sections['user']['show'] = false;
} else
    $this->_sections['user']['total'] = 0;
if ($this->_sections['user']['show']):

            for ($this->_sections['user']['index'] = $this->_sections['user']['start'], $this->_sections['user']['iteration'] = 1;
                 $this->_sections['user']['iteration'] <= $this->_sections['user']['total'];
                 $this->_sections['user']['index'] += $this->_sections['user']['step'], $this->_sections['user']['iteration']++):
$this->_sections['user']['rownum'] = $this->_sections['user']['iteration'];
$this->_sections['user']['index_prev'] = $this->_sections['user']['index'] - $this->_sections['user']['step'];
$this->_sections['user']['index_next'] = $this->_sections['user']['index'] + $this->_sections['user']['step'];
$this->_sections['user']['first']      = ($this->_sections['user']['iteration'] == 1);
$this->_sections['user']['last']       = ($this->_sections['user']['iteration'] == $this->_sections['user']['total']);
?>
        <tbody>
        <tr>
        <td><input name="" type="checkbox" value="" /></td>
        <td><?php echo $this->_tpl_vars['user'][$this->_sections['user']['index']]['aid']; ?>
</td>
        <td><?php echo $this->_tpl_vars['user'][$this->_sections['user']['index']]['username']; ?>
</td>
        <td>超级管理员</td>
        <td><a href="?m=admin&c=User&a=deleteUser&cid=<?php echo $this->_tpl_vars['user'][$this->_sections['user']['index']]['aid']; ?>
" class="tablelink"> 删除</a>     <a href="" class="tablelink">权限分配</a></td>
        </tr>    
        </tbody>
        <?php endfor; endif; ?>
    </table>
    
   
    <div class="pagin">
    	<div class="message">共<i class="blue">&nbsp;<?php echo $this->_tpl_vars['count']; ?>
&nbsp;</i>条记录，当前显示第&nbsp;<i class="blue" id="currentsNum">1&nbsp;</i>页</div>
        <ul class="paginList">
            <?php echo $this->_tpl_vars['page']; ?>

        </ul>
    </div>
    
    </div>
    
    <script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	</script>
</body>
</html>